package com.bqjr.xms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * Description: ConsumerBeehiveApplication.
 * Created by XHZ on 2017/8/6.
 */
@SpringBootApplication
@EnableDiscoveryClient //开启eureka服务
@EnableFeignClients
@EnableCircuitBreaker //开启Hystrix
@EnableHystrixDashboard //开启dashboard图形监控
public class ConsumerBeehiveApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerBeehiveApplication.class, args);
    }
}
